"use strict";
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var BaseController_1 = require('./BaseController');
var IndexController = (function (_super) {
    __extends(IndexController, _super);
    function IndexController(app) {
        var _this = this;
        _super.call(this, app);
        app.options(this.domain + "/*", function (req, res) {
            _super.prototype.initResponse.call(_this, res);
            res.send();
        });
    }
    IndexController.prototype.index = function (req, res) {
        _super.prototype.initResponse.call(this, res);
    };
    return IndexController;
}(BaseController_1.BaseController));
exports.IndexController = IndexController;
